/*
 * @Author: zoufengfan
 * @Date: 2022-10-31 15:02:05
 * @LastEditTime: 2022-11-04 13:22:42
 * @LastEditors: zoufengfan
 */
import styles from './index.less';
import InputRange from '@fc-rc/input-range';
import AddAndDetail from '@fc-rc/add-and-detail';
import React, { useEffect, useState } from 'react';

export default function IndexPage() {
  return (
    <div>
      {/* <h1 className={styles.title}>Page index</h1> */}
      <InputRange separator="--" />
      <AddAndDetail
        type="detail"
        title="详情"
        trigger={<button>btn</button>}
        columns={[{ columns: [{ title: 'aaa', dataIndex: 'aaa' }] }]}
        request={() => Promise.resolve({ aaa: 111 })}
      ></AddAndDetail>
    </div>
  );
}
